import axios from '@/libs/request/axios'
export function listException(condition) {
    return axios.request({
        url: '/workflow/flowException/list',
        method: 'post',
        data: condition
    });
}

export function resolverException(exceptionInfo) {
    return axios.request({
        url: '/workflow/flowException/resolverException',
        method: 'post',
        data: exceptionInfo
    });
}

export function queryFlowStatus(flowInstanceIds=[]){
    return axios.request({
        url: '/workflow/flowException/queryFlowStatus',
        method: 'post',
        params: {flowInstanceIds:flowInstanceIds.join(",")}
    });
}
